import gradio as gr
def greet(name):
    return "test" + name
app = gr.Interface(fn=greet, inputs="text", outputs="text")
app.launch()